Spotting at 35w

Had sex today and started spotting then from 12-8pm no spotting now this… could it be from sex?