She was just showing you how grateful she was for being out of that cage. Bless you for taking this poor frightened girl home to foster.
I hope and pray that she can be reunited with her family.