Foles was terrible during last year's Regular Season IIRC..he got hot for a few games, which is all you need in the NFL playoffs..
It can be very fluky in that way..mediocre/below average QBs like Foles and Flacco can win a SB by just stringing together a few fluky performances..even an average/slightly above like Eli can win 2 with a couple of breaks