Court raps govt over child malnutrition