SFO is highly prone to weather delays, in addition to the fact that 8 PM is likely the busiest period of the day. All it takes is a little bit of rain for metering to go into effect, which means the flight likely spends quite a bit of time sitting in the penalty box at LAX.