https://www.euronews.com/my-europe/2022/04/28/can-eu-countri...
I believe it’s mostly related to the war in Ukraine, since I had no similar experience in the more western parts of Europe (Austria/Germany, Germany/France)
Not necessarily true, any country can legitimately or not (there are some regulations on this practice, often breached) force them, for mere political shows of force too, here's one recent such example.
https://www.euronews.com/travel/2022/11/17/france-italy-bord...
A big waste of time when they do this in Toulouse on a flight from Brussels when you could drive to France faster without a border control.
Most of EU has legally done this, but actual application is more patchy:
https://home-affairs.ec.europa.eu/policies/schengen-borders-...