normally, we identify the governemnt bond is a type of risk-free asset and the YTM of bond shoud be stable in the long-run. The risk of shares are identify by the RRR(required rate of return) and also shares are risk asset. The risk of share normally go up and down very much.
trandition thoery display--" higher risk and higher return"..... But normal shares have better liquidity in the captial market. In the short-run, maybe it will happen the situiation that you mentioned before. In the long-run, the return of normal shares are much more risk than 10-years government bond.
By the way, more longer maturity bonds are more risky, because long-run bonds are more senstive about the change of interest rate. ( using duration to measure it)
i just say what my idea is, maybe it is not enough good.