On the long side of the triangle, the angle is a little different. The difference is very small, but enough that when you rearrange the pieces, there's a little more space in the second triangle.

If you look closely at the squares on the long side, you can see the difference in the sizes of the two triangles.