Early period after sex

Can intercourse cause your period to start a few days earlier than expected ?? If so, how come ?! Not that it’s a bad thing but just curious...