The friction loss In a uniform, straight sections of pipe, known as "major loss", is caused by the effects of viscosity, the movement of fluid molecules against each other or against the (possibly rough) wall of the pipe.
** In the transition domain, friction loss is sensitive to both.