Osteomalacia is when the bones become softer, weakening them. When osteomalacia occurs in children it is termed rickets. It is generally caused by a vitamin D deficiency.