How do taxes lower the volatility and risk of an asset?

The study text says that taxes lower volatility and risk of an asset.
How do taxes lower the volatility and risk of an asset?

The government is taking a share of your total gain or loss. This reduces the potential range of outcomes.