Company B’s credit ratings are lagging the market’s assessment of the company’s credit deterioration.
The bonds have similar risks of default (as reflected in the ratings), but the market believes the Company A bond has a higher expected loss in the event of default.
The bonds have similar risks of default (as reflected in the ratings), but the market believes the Company B bond has a higher expected recovery the rate in the event of default.