As aircraft speed increases, thrust tends to decrease somewhat; as the aircraft speed reaches a certain point, ram recovery compensates for the losses caused by the increases in speed. The inlet must be able to recover as much of the total pressure of the free airstream as possible. As air molecules are trapped and begin to be compressed in the inlet, much of the pressure loss is recovered. This added pressure at the inlet of the engine increases the pressure and airflow to the engine. This is known as “ram recovery” or “total pressure recovery.” The inlet duct must uniformly deliver air to the compressor inlet with as little turbulence and pressure variation as possible. The engine inlet duct must also hold the drag effect on the aircraft to a minimum.
Source: https://www.flight-mechanic.com/turbine-engine-inlet-systems/
But how the thrust decreases, and how Ram pressure increases?