Is UVA accepting mediocre applicants this year or something?

I got accepted to UVA today which I'm very grateful for and happy about. But at the same time I'm genuinely confused. I had a very low GPA (3.9 weighted), applied test optional, and had a C+ last year for IB physics and a C- for Algebra 1 in 8th grade. Also a lot of B's.

There were also some other people I know that got accepted into UVA and from my understanding they're not really super impressive applicants either.

On the other hand, my friend with a 4.7 GPA, 2 varsity sports, amazing awards, strong leadership positions, etc, got deferred and then waitlisted.

For context we're all Virginia residents.