If a company has money it cannot productively spend, it should return that money to shareholders. Stock buybacks are a tax efficient way to do that.
The company believes the asset wasn't very profitable for them to own, so they sold it and gave the shareholders the money back.