Based on the context and the answer, generate a question. 

Context: His right leg was in a thick white cast held up off the bed by a series of pulleys . It all looked terribly unnecessary to Scorpius as he stepped up to the bed , still holding Lily to make sure that she did not jump at him again . " Miserable , is n't it ?

Answer:

He had a surgery on his leg .



Why was a man in a cast ?