The train forces air out of its way, compressing it in the front and pushing it around its sides.

Airflow around a moving train