The ship could also be delayed arriving back in SD due to fog or mechinical problems or some other reason.
I believe you have to be at the airport 2 hours before departure, check in, go through security, etc. etc. and this could take a long time.
You are taking a chance booking such an early flight.
I believe HAL tells paxs not to book a flight before noon, at least they used to.