The core idea
Nominal bonds promise fixed cash flows, so unexpected inflation directly reduces their real purchasing power and can increase the yields investors demand.
What is happening underneath
Companies can sometimes raise prices or grow nominal revenues, giving equities a different inflation exposure.
How investors should read it
Neither asset class has a fixed response, but the contractual nature of bond cash flows makes inflation especially important.
The same market move can carry different information depending on which maturity, issuer and risk premium is changing. Read the question together with the underlying concepts rather than treating one price move as a universal signal.