AP Stats vs IB Math HL

I am in my senior year of high school, and am currently in IB Math HL. However, the class really isn’t going well, I can’t see myself getting above a C in the class. My other option is to take AP Stats (I’ve already taken AP Calc). I’m hesitant to switch to stats though, because I always hear people saying “stats is an elective, stats is a social study”. So I am wondering, do colleges really not perceive AP Stats as a math? Will they care that stats is my math, or will it not matter since I’ve already taken calc? Also I should note that I’ll be applying to science/engineering programs. So will they think that IB Math is better for that or will they just look to see that I’ve taken calc?