The gunman who killed 12 people at the Washington Navy Yard on Monday began his rampage by heading directly to the fourth floor, where he shot people who worked with him, and authorities are investigating whether a workplace issue sparked the killings, according to law enforcement officials and witness accounts.

People in the department where Aaron Alexis was working had concerns about his job performance, and investigators are looking into whether those concerns escalated last week, the officials said.