"Does the job" implies an equivalence, which couldn't be further from the truth in the case of PC vs phones.
Smartphones are what's responsible for the death of the internet as a place where knowledgeable, can-do people congregated and built a free utopia together. Once the normie hordes arrived and the marketing / advertising / propaganda / doomscrolling / mindless passive consumption people completely hijacked their brains with things like Instagram, the good old internet promptly died, and was replaced with the VC money-soaked online world we have now.
Gamers don't buy computers anymore (despite their consoles being computers, they are completely uninterested in those capabilities, same as phone users), students don't have a clue about files and directories anymore, and as for programmers... as a lifelong low-level programming enthusiast, I'd better stop there.
The PC market is a rounding error at this stage. What can you do on a PC that you can't do on your phone?
Who cares except for uncs shouting at clouds?
For many, many people in particularly low-income brackets, a phone is literally their only access to computing if they’re not in school or somehow getting a free laptop from work (all traffic monitored by HR-attracting IT department). A large number of (at least public) sites take this into consideration and have very robust mobile sites.