Falafel can fall apart during cooking if the mixture is too dry or hasn't been processed enough to bind together. It's crucial to use dried chickpeas that have been properly soaked and to process the mixture until it can easily form patties without crumbling. If the mixture seems too crumbly, continue processing until it holds together properly. Ensuring the patties are compact when formed is also key to preventing them from breaking apart.