I heard that two objects are homeomorphic if one could be deformed into the other by continuous transformation. For example in this link, it is shown
a sphere and a torus are not homeomorphic
"Proof" Removing a circle from a sphere always splits it into two parts -- not so for the torus.
However, I may imagine the following operations

to let the points around the inner circle of the continuous torus merge to a sphere. I see no reason merging is not continuous. Why not this transformation follow the definition of homeomorphic?