Other than directly cancelling a competing product, it's usually to acquire the staff. Bit like the football transfer market, but you can buy Marcus Rashford separately without having to buy the whole of Man U.
That's what the vesting period is for, to ensure the team sticks around for long enough that the acquirer can figure out who is most valuable and make it attractive for them to stay.
I've definitely heard stories of people who wanted to sell their stock after being acquired, couldn't because of vesting/lockup, and were glad because it went up a lot in the meantime.