They do that if there are too many of the same sex in the same cage, also they will canibalise if one is sick.