Use XML Based Sitemap and/or Static Page Sitemap?

I have a question about which sitemap to use – XML based that is sent to Google Search Console or static HTML based sitemap that is added to the website footer.

If you search "dump trucks for sale", you will find this result in the third position: https://www.commercialtrucktrader.com/Dump/trucks-for-sale?category=Dump%20Truck%7C2000609

Our website uses faceted navigation to filter inventory results, like the Commercial Truck Trader website example I posted regarding a search query.

I see the Commercial Truck Trader website has a sitemap link added to their footer. This is a static HTML based sitemap that can help the user navigate parts of the website.

Do you think the search query "dump trucks for sale" is showing the Commercial Truck Trader website in the third position on a serp from using a static HTML based sitemap that is added to the website footer, or from an XML based sitemap that is sent to Google?