Left to right shunting occurs due to a pressure difference between the left and right sides of the heart. The left side, having higher pressure, pushes blood into the lower pressure right side through a congenital defect. This results in increased blood flow to the lungs and can lead to complications.