Do you think it was rude of this girl to tell me to mind my own business when I was trying to give her helpful advice?

A girl said to me “Mind your own business” after I said to her “I think you stop straightening her hair too much otherwise she might damage it.”

I will admit this girl never did ask for my advice in the first place but I was trying to give her helpful advice because it’s a fact straightening hair too often isn’t good
Do you think it was rude of this girl to tell me to mind my own business when I was trying to give her helpful advice?
Post Opinion