I was talking to a friend about topological homeomorphisms, and the conversation turned to about "sphere" to "cube" homeomorphism in the standard topology. We found this paper which seemed to be quite complicated for showing it. My friend then tried to find an easier solution, and, mistakenly concluded that if two metric spaces are homeomorphic then their balls are also homeomorphic, so the sphere is homeomorphic to a cube trivially because the $d_1$ metric is same as $d_2$ metric on $\mathbb{R^3}$ (topological sense).
We both concluded that this statement should not be generally true because even in a single metric space the balls around different point need not be homeomorphic, so one would have to specify which balls they are talking about in the framing of the above claim.
I tried to account for that problem and frame the following question: If we have a homeomorphism $f,g$ between two metric spaces $X$ and $Y$, when is that the ball centered at a point $x \in X$ is homeomorphic to a ball centered at the point point $f(x) \in Y$?
I would also appreciate discussion on other ways of turning my friends statement into a rigorous true statement other than the above.