WordPress is an application. It runs on a server around the clock, and when someone visits your site it assembles the page on the spot — pulling your content from a database, running it through your theme and plugins, and sending back the result. Everything about it flows from that: the admin dashboard, the plugin ecosystem, the need for hosting that can run PHP, and the need to keep all of it updated.
Astro is a build tool. It generates your entire site in advance, so every page already exists as a finished HTML file before anyone asks for it. There's no application running, no database answering queries, and JavaScript ships only on the pages that genuinely need it. Your site is a set of files on a global network, and serving files is about the cheapest, fastest, most secure thing the web knows how to do.
Neither approach is new-fangled or obsolete. They're different trade-offs, and the right one depends on what your website actually has to do day to day.