Well, if you haven't seen any of the show it would be confusing, but she is actually Princess Celestia's little sister. And yes, there was some sister rivalry going on for a time at the beginning of the series, but now she's come around and they are working together. But they are still quite a contrasting sibling pair.