Give them time. Pairs break up and reform pretty often. They are likely still in spawning mode even though the eggs got eaten. Give them a few days and they should calm down.
Hi
I have 4 females and 1 male eletric yellow in a 2 foot tank at the moment
Wondering if this is a good size tank or do i need a biiger tank maybe a 3 foot or 4 foot tank