The correct answer is B. Contrite.
Contrite means a feeling or expressing penitence or remorse. Someone that is affected by guilt. So the complete sentence should be:
The foster mother of Anne of Green Gables offers her a contrite apology after unjustly punishing her for the missing brooch.