The issue is one of the units is 'mounted' and mounted units always use a spread out formations.
Tell the unit to unmount, wait about 5 seconds, then they will behave normally.
Unfortunately some of the mounted lords are assigned to the infantry group instead of cav which is creating this issue. The bugged unit starts with the cav units so its not easily apparent that this is the root cause of this issue.