Look at it from this point of view. If you supply the energy for a molecule to form when it wouldn't energetically want to form in the first place, then in essence you are making it exothermic.
However, don't really think of it like this. Everything in that upper paragraph would get me laughed at from all chemists, I was just trying to convey how one could perceive endothermic reactions happening.