Once the ogre is asleep, the harp stops singing and is put away until the next morning. Jack is hiding in a copper pot when the ogre's wife takes out the golden harp. Jack moves over to the table where the harp is and steals her. When Jack picks up the harp, it changes her routine, and she calls to her master because she is confused. The golden harp is loyal to the ogre because he is the one who is constantly around her.
Children behave in a similar fashion.
They are always around their parents, and they are used to their parents' actions and habits. When they are around someone new, they get scared because they are not used to the new person's ways. The ogre is treating her the way she thinks she should be treated. The harp responds to the ogre the same way that a child responds to a strict or forceful parent. Even though a child has a hard life because of the way that his parents treat him, the child still loves his parents because they are his parents.