Hugo is a static site generator, so I can host my site anywhere that can serve an index.html.
With Wordpress, you have to worry about PHP, a database, etc. It’s the difference between being able to use GitHub pages, and needing either a VPS or shared hosting