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?

I will admit and be honest though this girl never did ask me for advice in the first place

but anyway I told this girl who I go to university with she should stop trying to straighten her hair so much otherwise she might damage it

She than said to me “Mind your own business.”

I was trying to give her helpful advice though. It is a fact straightening hair too much isn’t good. I thought I was being helpful towards her
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