They simply do not want to face their feelings and the heartbreak that comes with the loss of an important relationship, so they begin a new relationship as a distraction. So, the fact that your ex replaced you so quickly is indicative of the fact that they cared for you on a deep level.