Probably a necessary move.
Check it out:

Secret Service Director Julia Pierson abruptly resigned Wednesday in the face of multiple revelations of security breaches, bumbling in her agency and rapidly eroding confidence that the president and his family were being kept safe.

President Barack Obama “concluded new leadership of that agency was required,” said spokesman Josh Earnest.