It might be because your egg to ratio was off, your didn't use warm water/broth to incorporate the eggs, you didn't strain your mixture or your heat was too high.