The grain "ordeal" prhoibits Ukraine from selling its grain. One of the most important exports and remaining bits of the economy. So while Putin is trying to stab them militarily, these countries are trying to hang them economically.
How is it Ukraine pulling shit and what are their alternatives? They can't sell grain to Europe, they can't sell grain overseas because of the Russian blockade.
The polish government does not care for Ukraine. The support was beneficial to harvest the strong (and justified) anti Russian sentiment. Now that things are going into the long run and the elections are up, they fuck Ukraine over so they get the domestic farmers vote and present it as standing up. Standing up to whom? The country already fighting off an invasion and barely getting by?
I bet, when the war is over Poland will demand to get "payed back" by Ukraine with a very high interest rate and try to ensure itself access to key economies and making Ukraine its bitch. Maybe the polish people care, but the polish government is only in for itself. Same goes for Slovakia and Hungary.
https://www.dw.com/en/ukrainian-grain-why-are-eastern-eu-members-banning-imports/a-66872238