Applying a covariant quantization scheme on the free electromagnetic field $A^{\mu}$ one can show the existence of one-photon states described by momentum $k$ and one of four possible polarization states. Those four polarizations states correspond to the four possible values of spin -1,0,0,+1. Those correspond to transversal (2), longitudinal (1), and scalar photons (1).
However, this is obtained from assuming that the four states are truly independent, when are not. By imposing the Lorentz condition (or some other equivalent as Gupta Bleuler condition) one obtains that longitudinal and scalar photons are linearly dependent for each value of momentum
$$[a_3(k) - a_0(k)] |\Psi \rangle = 0$$
Here the $a_0$ and $a_3$ are destruction operators for scalar and longitudinal photons, respectively. It is easy to show that the above combination implies that longitudinal and scalar photons do not contribute to field observables. Thus the expectation value for the energy of the electromagnetic field only involves transversal photons
$$\langle \Psi | H | \Psi \rangle = \langle \Psi | \sum_k \sum_{r=1}^2 \hbar \omega_k a_r^\dagger(k) a_r(k)] |\Psi \rangle$$
As a consequence, only transverse photons can be observed as free particles associated to the electromagnetic field.
However, scalar and longitudinal photons play an important role in presence of charges. In my opinion the most simple and direct way to understand why is to use the photon propagator $D^{\mu\nu}(k)$. Again this depends on four polarization states. The interpretation of the transverse photon contribution $D_T^{\mu\nu}(k)$ is direct, whereas the contributions of longitudinal and scalar cannot be physically interpreted by separate. However, they can be reorganized in linear combinations $D_C^{\mu\nu}(k)$ and $D_R^{\mu\nu}(k)$ that allow a simple physical interpretation
$$D^{\mu\nu}(k) = D_T^{\mu\nu}(k) + D_C^{\mu\nu}(k) + D_R^{\mu\nu}(k)$$
The first term is the usual radiation contribution and involves transversal photons. The second term is the usual Coulomb term and involves a mixture of scalar and longitudinal photons. The remaining term, also involving a mixture of scalar and longitudinal photons, is unobservable (it can be shown that its contribution to scattering is zero).
Note that although the Coulomb interaction emerges as an exchange of scalar and longitudinal photons, those photons are not observable. They do not appear in initial and final states of scattering processes (only transverse photons do), but are virtual particles in intermediate states.