In some jurisdictions, when assets are transferred by inheritance, any unrealized increase in asset value is subject to capital gains tax, payable immediately.
In some jurisdictions, like Austria, death gives rise to the local equivalent of gift tax.