The preposition changes the meaning

prendre

no prepositionà

The constructions

no prepositionprendre quelque chose

Meaning : to take, to have

Je prends le bus tous les matins.

àprendre quelque chose à quelqu'un

Meaning : the person you take it from

Un voleur a pris son sac à une touriste.

às'en prendre à quelqu'un

Meaning : to take it out on, to attack

Il s'en est pris à ses collègues.

Why

Prendre quelque chose is direct in all its everyday meanings: prendre un café, prendre le train, prendre une décision. Prendre quelque chose à quelqu'un: the person takes à, not de, as with emprunter à and voler à. S'en prendre à, a set phrase, means to attack.

The preposition changes the meaning