This change also happens when you switch between "same ball parents/ditto" to "different ball same species parents", something worth noting is that at least between these 2 groups even if you swap parents the current egg's IVs/Ability/etc will still remain the same, however the next egg will...