Sick leave at work?

I’ve been getting sick pretty often, cold, Covid,
Had a miscarriages and suffer migraines. My boss always seems supportive but today I saw an email sent To my manager saying I’m sick often and something about it becoming a habit to not be in the office. He said although my reasons are always valid though. He asked to see my sick leave records for the year.
I’m pretty irritated because I do my best and not sure how to handle what is going to come of this.
Sick leave at work?
Post Opinion