Orrrrrr.... hear me out...
They just enjoy making music, and enjoy the process of scoring films. They also, if you can believe it, might also be collaborating with friends or, in Jonah Hill's case, fans, as a courtesy, or just entirely for fun.
I know it's hard to grasp it, but not every musician makes career choices based on the individual needs of every fan.