I've driven on that stretch of I-5 from Sacramento to L.A. multiple times. While parts are bumpy, it wasn't any bumpier than other freeways I've driven. And it certainly wasn't sufficient to jar the bonnet loose.
Perhaps there's an incomplete connection at either the latches in the grill or at the tabs where the bonnet hooks up near the windshield, or both. Or maybe the latches have worked themselves loose and can't stay closed anymore. There was a suggestion in a previous thread to install an anti-theft bolt in the hood latch (see Post #21 in
451 Front (Hood) Access Panel-Inside Hood Release). That might help keep the hood on.