The effect of the flow of high-energy protons on the lower atmosphere is considered. The analytical equations are derived for the ionization rate of molecules and aerosol particles in the processes of both impact ionization and ambipolar diffusion. The ionization rate of aerosol particles is calculated for some cases. Variations of the optical depth are estimated for the atmospheric layer of 8-10 km. A good agreement between the calculated and observed values is achieved.