A couple of things cause pistons to stick.
1. Nasty brake fluid
2. If the rubber dust cover is torn and dirt gets in there, the piston will freeze.
3. If the piston is plastic they crack and expand, equals stuck
Also frozen slide pins or dirty slide pins can cause the caliper not to retract...