I took a relativity class as an undergraduate but lost contact with the theory many years ago. Recently I took some old notes to revisit some concepts. I am a layman in the subject, so I apologize in advance for the basic question but I have never seen any satisfactoric explanantion on the matter.
The metric tensor $g$ tells you how spacetime curves and, consequently, how one measures distances. In $\mathbb{R}^{3}$ the norm $\|x\|$ has the natural interpretation of the lenght of the vector $x$ or the distance between the point $x$ and the origin. In relativity, we talk about four dimensional vectors ${\bf{x}}=(ct,x,y,z)$. Whats does $g({\bf{x}}, {\bf{x}})=(ct)^2-x^2-y^2-z^2$ means? What does it measure? In other worlds, why is the metric tensor defined as: \begin{equation} g=\begin{pmatrix} 1 & 0 & 0 & 0 \\ 0& -1 & 0 & 0 \\ 0& 0 & -1& 0 \\ 0& 0 & 0 & -1 \end{pmatrix} \end{equation} in flat spacetime?