Interpretation of the shift of frequencies of molecular lines by gas pressure