Guys why do most men like women with longer hair?

My boyfriend has said if I care about what he thinks, I won't cut it short. I wasn't planning on it but still, what if I wanted to? Would he still be attracted to me?