The baby has a heart malformation that prevents oxygen from getting to the baby's blood, causing it to be cyanotic or blue. Having a bluish color means that the blood is deoxygenated.