A suggestion as to what happened. Someone recruited a company of Mississippi Infantry. There was no Mississippi regiment that needed another company at that time. An Alabama regiment was being formed and needed a company. Therefore the company was assigned to an Alabama unit.