Phenylketonuria is caused by a deficiency in the enzyme phenylalanine hydroxylase (PAH), which is responsible for converting phenylalanine into tyrosine. This leads to elevated levels of phenylalanine in the blood, which can be toxic to the brain and result in cognitive impairment, if not managed properly. PKU is typically diagnosed through newborn screening programs, allowing for early dietary interventions.