Origin of the Galactic ridge X‐ray emission