Let $X,Y,Z$ be some random elements on some Hilbert space $(H,\langle\cdot,\cdot\rangle)$. Can we show that $$E\|X-Y\|^2 \leq E\|X-Z\|^2 + E\|Z-Y\|^2$$
I can clearly see that $$E\|X-Y\|^2 \leq 2E\|X-Z\|^2 + 2E\|Z-Y\|^2$$ due to the parallelogram law.
My attempt: $$E\|X-Y\|^2 = E\|X-Z\|^2 + E\|Z-Y\|^2 + 2\langle X-Z,Z-Y\rangle$$
So I need to show that the last term is negative.
In general, the inequality
$$\mathbb{E}\|X-Y\|^2 \leq \mathbb{E}\|X-Z\|^2 + \mathbb{E}\|Z-Y\|^2$$
does not hold. Simply consider arbitrary $X$, $Z := \frac{1}{2} X$ and $Y = \frac{1}{4}X$. Then
$$\mathbb{E}\|X-Y\|^2 = \frac{9}{16} \mathbb{E}\|X\|^2$$
whereas
$$\mathbb{E}\|X-Z\|^2 + \mathbb{E}\|Z-Y\|^2 = \left( \frac{1}{4} + \frac{1}{16} \right) \mathbb{E}\|X\|^2.$$
On the other hand, it is not difficult to see that
$$\sqrt{\mathbb{E}\|X-Y\|^2} \leq \sqrt{\mathbb{E}\|X-Z\|^2} + \sqrt{\mathbb{E}\|Z-Y\|^2}. $$
This follows from the fact that
$$p(X) := \sqrt{\mathbb{E}\|X\|^2}$$
defines a norm on $H$ (it is a composition of two norms) and, in particular, $p$ satisfies the triangle inequality.