Because a shield bash involves an attack roll and potential damage. Shield Mastery allows you, when you use the Attack action, to use a bonus action to Shove using your shield. Shove is, technically, a thing that can be done using the Attack action that is not an attack - you forego the attack...