The question was originally titled
Why "Using X is better" but "It's better to use X"?
The first title edit incorporated two of four example questions expressed by the OP in their actual question, namely
Why "Using a keyboard is better" but "It's better to use a keyboard"?
I found this edit to be helpful; and again it contains two of four sentences actually used by the OP in the question body. But later the same user (not the OP) edited the title to
"Eating people is wrong" but "It's wrong to eat people" - Why?
which I don't see a good reason for, since any import of such a title may be lost on the OP, and others, but mainly because it loses the explicit "teaching moment" of using two sentences provided by the OP in exchange for one of entire different substance...