Overworking releases too much starch.
Cooked potatoes are made of swollen cells full of soft starch. Gentle mashing separates those cells and keeps them mostly intact, so the mash is fluffy. Overworking them, especially with a blender or food processor, ruptures the cells and releases loose starch, which mixes with liquid into a sticky, gluey paste.
To keep mashed potatoes fluffy:
Use a starchy or all-purpose potato like russet or Yukon Gold. Start them in cold salted water so they cook evenly. Drain well and let them steam dry for a minute or two, since extra water makes a gummy mash. Mash with a hand masher, potato ricer or food mill, never a blender. Warm the butter and milk or cream before adding, and fold them in gently.
If your potatoes have already gone gluey, there's no way to undo it, but you can turn them into potato pancakes, gnocchi or a gratin, where the texture won't matter.