She's thinking that she adopted a dog and, without realizing that it was against the contract she signed with the rescue agency, she gave it away to a child who bonded with that dog.
When the rescue agency found out, they took the dog back into a less than desirable environment, and she feels guilty.