Dog aggression?

Grace 🦋 pcos 🌻 👧🏻👧🏼👼🏼

What are signs of dog aggression and how can I stop any possible aggression . My dog has been snapping at my daughter lately she’s not biting but she barks at her . My daughter is 19 months . My dog is 2 and she’s also done this to my nephew who’s 5. She loves both of the kids as she’s grown up with my nephew . My dog also has a health condition called polymyopathy and I don’t think she’s been feeling the best so I don’t know if that has anything to do with it . My daughter was running in the living room and when she ran past the dog she got up really fast and looked alarmed . So I don’t know if my daughter is just being too crazy . I don’t allow my daughter to mistreat the dog . She doesn’t get to crawl all over her , I don’t really like when she hugs the dog , when she tries to put her toys on her I stop her and tell her she isn’t allowed to do that. I don’t want t to ignore this and have something bad happen . The dog seems fed up at times and I don’t want that to get worse but then most of the time the dog will come sit right by us all and where my daughter is . What can I do?