It glitches out and if you score a touchdown the next drive it just adds the points and won't finish the game.
i even recovered a fumble in my own opponents endzone once and it counts as a safety for some reason and the game didn't stop on the next drive.