are saving throws ability checks?
So while saving throws and attack rolls are based on your ability scores, they are not ability checks. In fact, Chapter 7 is dedicated to ability checks and saving throws (not attack rolls).