The full height of the blue triangle (sin(a)sin(a)) can’t be used, since the red triangle doesn’t extend as far. (Why? When we add angle bb, we’re moving at a steeper angle with the same hypotenuse. We gained vertical distance and lost horizontal distance.) We’re effectively “sliding back” sin(a)sin(a), reducing it by a factor of cos(b)cos(b).
The full height of the red triangle (sin(b)sin(b)) can’t be used either, since it’s at an angle. We’re “turning” sin(b)sin(b), reducing it by a factor of cos(a)cos(a).