What affects spousal maintenance?

Spousal maintenance payments are there to help spouses who do not have sufficient funds to meet their income needs and the paying party has enough income to make this affordable for them. But what if circumstances change? Are these taken into account and what affects payment of spousal maintenance?