Different mechanics don't have to be used for any reasons of realism but they may come in handy for modeling certain constructs the way someone wants them to work. This isn't an attempt at realism, rather it's simply a method for designing a tool to do a specific job. A d20 plus modifiers is a useful tool but it might not fit for every single type of task resolution.
Some people might not want to use such a quirky random method of d20 + modifiers for skill based tasks, especially if the difficulty for such tasks scales with level. Does a character really grow and improve if the odds of success at performing a given task remain the same? If the goal is to engineer a task system whereby a player needs to roll a certain raw number to succeed and to keep such odds stable over the levels then d20 + modifiers vs scaling DC's fits the bill.
That, to me, while a workable mechanic does not fit the description of skill as it is commonly defined. If we are to see measurable improvement then actual odds of success should increase steadily as skill improves. IMHO a flat 1d anything roll makes this more difficult to model.