Ukrainians have the right to enter Germany and other Schengen countries with a biometric passport for up to 90 days within 180 days..
However, from July to December 2024, German border guards began to deny entry to Ukrainians more often.

Why are Ukrainians being denied entry?
According to the German government, Ukrainians have become the second largest group of illegal migrants stopped at the borders. Many Ukrainian citizens have already received protection in other EU countries, but are trying to move to Germany. Such movements are now possible only by agreement between states.
Will the scenario with Poland repeat itself?
Previously, Poland and some other EU countries began restricting entry to Ukrainians returning from trips to Ukraine. So it is possible that German border guards will adopt this practice.

What are you?
Ukrainians should have all status documents and clearly justify the purpose of entry, and crossing by air does not guarantee unhindered entry.