Complex sentence: Due to her grandfather, she wears a male uniform at school, and because of this, she is popular among the female students.
Split into simpler sentences: Due to her grandfather, she wears male uniform at school. And because of this, she's popular among the female students.