Energy losses in pipes occur primarily due to friction between the fluid and the pipe walls, and can also result from turbulence, bends, fittings, and other obstructions. These losses reduce the energy available for fluid movement, impacting the efficiency of fluid transport systems and often necessitating increased energy input to maintain flow rates.