HbA1c is a measure over 3 months, but it is most impacted by the last 6 weeks.
So abnormal BG in the few weeks before the test can have a disproportionate impact.
You seem to be doing all the right things, so well done!
Diabetes is a marathon not a sprint, so you have to be patient with...