John Kenneth Galbraith, a quotable economist, observed that one of the deeper mysteries is why, in a falling market, there is still a buyer for every seller.

It is a conundrum that bond investors must now contemplate. Since January, the yield on a 10-year Treasury bond has risen (and thus bond prices have fallen) with scarcely a backward step. It is above 3 percent for the first time in years.

In part, the fall in bond prices reflects a growing acceptance that the Federal Reserve will raise short-term interest rates to 2.75 to 3 percent by the end of 2019, as its median rate-setter expects.

In part, it reflects worries that tax cuts and rising oil prices will fuel higher inflation.

And there is anxiety that the supply of treasuries is about to increase (in order to pay for tax cuts) just as buyers may become more scarce.

The Fed itself is running down its holdings. The higher cost of hedging currency risk in dollars is putting off some foreign buyers.

If sellers outgun buyers, prices will continue to fall.

Who then will buy?

Actually, there is a large class of investors for whom long-dated treasuries have an almost unique virtue.

It may even include people who believe that 3 percent is far too low for a sensible long-term interest rate.

It consists of holders of other, riskier assets, such as stocks, houses or high-yield corporate bonds, who wish to hedge against falling prices in the event of a recession.

There are other ways to insure against a crash than buying bonds.

You might buy Japanese utilities — “the most boring stocks in the most defensive currency,” said Robert Buckland, a strategist at Citigroup.

For investors willing or able to take a short position (i.e., to sell borrowed assets in the hope of falling prices), Andrew Sheets of Morgan Stanley suggests an index of junk-rated property bonds, the price of which may not rise much further in a growing economy but would fall fast in a shrinking one.

Still, buying treasuries is less fiddly for no-nonsense investors. And this insurance policy pays 3 percent a year.

Yields on government bonds now compare favorably with the paltry dividend yields on stocks or with rental yields on prime city property.

But why buy a volatile 10-year (or nine-year) bond with a mere 3 percent yield?

Why not instead buy a two-year Treasury, yielding 2.6 percent?

That is a slightly lower return, but a surer bet.

After all, securing good returns with the lowest risk is supposed to be the art of investing.

It also offers the prospect of a bigger capital gain should recession strike. Right now, for a nine-year bond, for every 1 percentage-point change in interest rates, its price changes by 8 percent.

The two-year bond offers a narrow sort of diversification.

A true diversifier, though, pays off when you really need it — when trouble strikes.

In bad times, the scope for fiscal stimulus would be limited by an already large budget deficit. The Fed would cut short-term rates, perhaps to zero. It might start buying bonds again.

Investors would rush to the safety of treasuries. Ten-year yields could plausibly fall to 1 percent or so.

However, those who had bought at yields of 3 percent would secure a 17 percent capital gain. Not only would that cushion a fall in the price of stocks, it would provide the means to buy them while they are cheap.

In a world without mystery, buyers of bond insurance would wait until prices stopped falling.

A few investors may be able to sense the bottom of a market, but it would not be wise to assume you are one of them.

If 10-year yields rise by half a percentage point, it would mean a capital loss of around 4 percent, but the 3 percent interest would almost offset it. A net loss of 1 percent is not a terrible price to pay for insurance.

If yields go a lot higher, the losses would be greater, of course. A surge above 4 percent might well prompt a brutal re-pricing of stocks, property and other long-duration assets.

Bond losses might be tolerable by comparison.

Yet there is also good reason to think that a further rise in bond yields will be self-limiting.

A debt-ridden world cannot sustain high interest rates for long.

Perhaps long-term interest rates will move a lot higher over time. But they will probably fall again first.