Ender Long lived by the saying Denial is not just a river in Egypt. When something happens that he does not want to acknowledge, Ender would deny it until it becomes the truth.
For example, when Ender found out he could get pregnant, he denied it to the point of forgetting, which he is starting to regret.
Because after a drunken night with his best friend (Ender made sure not to leave any evidence that it was him), he ended up pregnant.
So, after learning this, he did what he knew best—denying everything until it becomes true or forgotten.
Ender told his family and friends that the person who knocked him up disappeared. They believed him.
Now, if only he could convince his best friend to stop taking care of him before the baby is born.