So, he has been around your daughter for 4 years and this us a new behavior? What has been the interaction between the dog and your daughter? Does she play with him, treat him rough, tease him?
Does he try to hurt her? Does he seem to be threatening her? Ex: growling hackles up?
Is there a certain time the dog does it or doesn't do it?