Can cause nervous excitement. If you want to sleep at night, you have to wait for your nerves to calm down, so you are in a state of nervous excitement.
Then it's hard to fall asleep, so it's best to exercise during the day.
You can drink some milk at night to help your body sleep.