The formation of a boundary layer is primarily due to the fluid dynamics around the catalyst surface. When a fluid flows over a solid surface, the fluid molecules in direct contact with the surface adhere to it due to viscosity. This creates a velocity gradient from the surface (where the velocity is zero) to the bulk fluid. The region where this velocity gradient exists is the boundary layer.