The grass is probably 1/2 dead from water restrictions and the school is afraid it’ll turn to mud with the rain if the kids trample it to dust.
As for basketball, my guess is the court has to be shared with other activities that may need hardtop. Jump romp, chalk drawing or maybe even better, the new designated sitting area