How do scientists know the universe is expanding?
The main piece of evidence (there are others) is the redshift from distant galaxies. This is usually interpreted as a result of the Doppler effect – i.e., the galaxies are moving away from us.