Shove is an attack because it says it is an attack. The rules for shoving say: Using the Attack action, you can make a special melee attack to shove a creature, either to knock it prone or push it away from you. More @Wikipedia
Hover over any link to get a description of the article. Please note that search keywords are sometimes hidden within the full article and don't appear in the description or title.