Rationing in Europe is hard because thanks to free travel it has to be done in all of Europe all at once otherwise people are just gonna go and shop where it's more available, causing problems for neighboring countries, and doing anything at a EU level is incredibly slow and full of bureaucratic rigmarole.
The EU is by its construction a trade harmonization organization, it's not built for acting quickly and dealing with crises.