It fundamentally is a relativistic effect. Do you accept that a stationary electron generates an electric field which can be measured? I'll assume it is okay and build upon that.
A stationary electron creates an electric field with $$\vec E(\vec x) \propto \frac{q}{|\vec x - \vec x_0|} (\vec x - \vec x_0) \,.$$
Let us choose $\vec x$ and $\vec x_0$ such that they only are along the $z$-axis. So say we are at the origin and the electron is at $\vec x_0 = (0, 0, 1)$. Then we would see some $E_z$ field component. Since the electron is at rest with respect to us, we don't see any magnetic field.
This electric field can also be written in terms of the field strength tensor. For this we use $E^i = F^{i0}$. So the tensor is roughly this
$$ \mathsf F = \begin{pmatrix}
0 & 0 & 0 & E_z \\
0 & 0 & 0 & 0 \\
0 & 0 & 0 & 0 \\
-E_z & 0 & 0 & 0
\end{pmatrix} \,.$$
There can be an overall sign depending on where one puts the spacetime indices. It does not matter here as this is just a qualitative argument.
We now make a change of coordinate systems. We move along the $x$ axis and keep the electron as it is. It will appear that the electron moves relative to us now. The spacetime transformation will look like this
$$ \mathsf \Lambda = \begin{pmatrix}
\cosh \rho & \sinh \rho & 0 & 0 \\
\sinh \rho & \cosh \rho & 0 & 0 \\
0 & 0 & 1 & 0 \\
0 & 0 & 0 & 1
\end{pmatrix} \,.$$
Performing the transformation which is roughly $\mathsf F \to \mathsf \Lambda \mathsf F \mathsf \Lambda$, we obtain a new field strength tensor which now looks like this:
$$ \mathsf F' = \begin{pmatrix}
0 & 0 & 0 & E_z \cosh \rho \\
0 & 0 & 0 & E_z \sinh \rho \\
0 & 0 & 0 & 0 \\
-E_z \cosh \rho & -E_z \sinh \rho & 0 & 0
\end{pmatrix} \,.$$
The new elements there correspond to the $B_y$ components. So there is now a magnetic field in the $y$ direction.
If you want to ask how the electric field is produced, it will probably not shed that much light by looking into QED. I would think that there is no really more fundamental explanation for the electric field.