Blood clots in the legs can occur due to inactivity during and after the surgery. These usually show up a few days after surgery. They cause the leg to swell and hurt.