Please separate your fish unless you are breeding. They don't eat when you take them apart because they are in shock of not having to worry about the other fish in the tank. If you would give them a few days to calm down they will go back to eating normally unless their sick. Males will be under the constant stress of wanting to breed which can lower their immune system and the female will start developing eggs. She'll either release them, re-absorb them, or in rare cases become egg bound and explode.
Feel free to message me any questions, I'll try to help the best I can!
Rummy- Mini Rex Rabbit
Diz jr- Betta
Yoshi- Crested Gecko