Yes, it does more and more, especially since 2018. In effect, Google explained back then that its mobile-first indexing system would become more predominant and prioritized over time. So it's a good idea to switch to mobile optimization if you haven't done it yet.