Molly, the magpie, was taken away by the authorities because she was unlawfully removed from her natural habitat. According to the department's statement, the individual or entity responsible for her possession did not have the necessary permits, licenses, or legal authority to keep a wild bird. This action is in violation of wildlife protection laws, which are designed to ensure that animals remain in their natural environments and are not exploited or kept without proper oversight. The removal of Molly highlights the importance of adhering to regulations that protect wildlife and maintain ecological balance, as well as the need for individuals to understand the legal implications of keeping wild animals as pets.