As I understand it, it's not possible for a generator to get out of phase with the grid. Sudden changes in the grid phase instantly and catastrophically break generators, power lines, transformers, and so on, but that can only occur when you connect two grids together without synchronizing them. Which implies there are two separate grids to connect.
I don't know what specific threat is addressed by tripping generators offline when the frequency deviates by 1 Hz. Are they so mechanically fragile that is already damaging to them, or is it a precautionary measure because that kind of instability is likely to precede sudden frequency or phase jumps that are damaging?