Complex sentence: She constantly craves her mother's affection but does not get it, so she retaliates by being rebellious, thinking it is the only way to get her mother's attention.
Split into simpler sentences: She constantly craves her mother's affection but does not get it. She retaliates by being rebellious, thinking it is the only way to get her mother's attention.