The problem with the EU is that its a union and it isn’t. The lack of coordination and discipline amongst its different members is responsible for this. What’s happening is indicative of the need for stronger central institutions on their part if they want to survive, but this is never going to happen, no one will want this to impact their sovereignty.
Its kind of amazing it hasn’t completely fallen apart yet. More so that it might not.