Probably more correlation
Google doesn’t care about the price of your hosting, but it definitely notices things like slow TTFB, unstable uptime, and poor server environments. Cheap shared hosting can sometimes lead to those issues because of overcrowded nodes or weak infrastructure.
So it’s less about “low cost hosting” itself and more about overall server performance and reliability