Need help with my daughter’s tangled hair, advice for a clueless dad

Hi, I wanted to ask for advice about my daughter’s hair. She has long hair, but by the end of most days, it gets completely tangled and feels almost impossible to comb out. This happens even if her hair starts the day brushed

For context, I’m a father with little to no experience when it comes to hair care, so I’m not sure what could be causing it to tangle so badly. Could it be related to the weather, her hair dryness or maybe her activities during the day?

I’d really appreciate any tips for preventing tangles or making it easier to manage them without causing discomfort thank you