Why do penalties off set on a pre snap penalty?

The play shouldn't have happened