What is the reason and the fix for gaps between laminate planks?
According to this reference:
shrinking laminate floors, laminate floors float on the subfloor, and can slide lengthwise under the baseboards.

Their recommended solution was to glue the ends of the boards and push them together to close the gaps.