Define $O = \{y : d(y,x) > r\}$. To see that $O$ is open we will show that every $p \in O$ is an interior point of $O$.
Let $p$ be such that $d(x,p) > r$, for some fixed $r$.
Then our "wiggle room" for $p$ is $\delta := d(x,p) - r > 0$.
Then $B(p, \delta) \subset O$, so $p$ is an interior point of $O$:
let $q \in B(p, \delta)$.
Suppose that $d(q,x) \le r$, then we would have by the triangle inequality:
$$d(p,x) \le d(p,q) + d(q, x) < \delta + r = d(x,p)$$
which is a blatant contradiction. The last equality follows from the definition of $\delta$ and the second $<$ from $q \in B(p, \delta)$.
So $d(x,q) \le r$ is false, hence $q \in O$.
As $q \in B(p, \delta)$ was arbitrary, we are done: all points of $O$ are interior points.
Note that this proof works in any metric space.