There are a few reasons why a song might be written for a movie but not end up in the film itself:
* The song doesn't fit the scene it was intended for. Sometimes, during editing, a scene may be cut or changed in a way that no longer suits the song.
* The song doesn't fit the overall tone of the film. It's important for music to complement the mood and themes of a film, and sometimes a song might not be the right fit.
* Budgetary constraints. Films have limited budgets, and sometimes a song might be cut for financial reasons.
* Creative decisions. Directors and producers often make creative decisions about which songs to use, and sometimes they choose to go in a different direction.
It's worth noting that "Better Together" is a popular song from the Descendants 2 soundtrack, and it's even featured in the movie's end credits. While it wasn't included in the main film, it still plays a significant role in the overall Descendants 2 experience.