The company does this to verify the attackers dont see their defensive strategy.
Google recommends that users enable two-factor authentication or enroll in itsAdvanced Protection Programfor added security.

Maskot/Getty Images

boonchai wedmakawand/Getty Images