The causes of heart disease in children can be congenital or acquired. Congenital heart defects result from abnormal heart development during pregnancy, while acquired conditions can develop due to infections, autoimmune diseases, or other health issues. Genetic factors and environmental influences may also play a role.