Rickets usually happens when a child does not get enough vitamin D. Not getting enough vitamin D is called vitamin D deficiency.