Whilst on your period, it is normal to have a heavier flow for the first couple of days.
As time goes on and you hit the last couple of days, the bleeding begins to drop, and your period becomes lighter.
This allows for a more comfortable sleep.
Sleeping whilst on your period can sometimes be a bit uncomfortable due to the heaviness of the flow.
If this is consistently the case, the above measures can help improve the situation.