Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

A domestic incident that led to a fatal shootout with Boston police earlier this week may have started out as an argument between roommates over the thermostat, authorities said.

Veteran officers Richard Cintolo and Matt Morris were still in critical condition Friday, having sustained injuries in a shootout two days earlier while responding to a call of a possible domestic disturbance.

One of the officers was in surgery while the other was awaiting the operating room, Boston police tweeted.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

Commissioner Evans visited with Officers Cintolo and Morris earlier today. Both continue to be listed in critical but stable condition. — Boston Police Dept. (@bostonpolice) October 14, 2016

Boston Police Commissioner William Evans identified 33-year-old Kirk Figueroa as the deceased gunman in a news conference Thursday.

NECN: What We Know About the East Boston Police Shooting Suspect

Upon arrival, officers were met at the door by a victim who claimed his roommate had pulled a large knife on him, Evans told reporters.

"His roommate met the officers out and clearly said that he was being attacked over an issue going on inside that apartment," Evans said.

Figueroa then produced what officials described as a "tactical shotgun" and began firing on police, wounding the two cops. After an exchange of gunfire, Figueroa, who was wearing body armor, was shot and killed by other officers.

NECN:'I Just Heard My Roommate Die': Eyewitness Describes East Boston Shootout with Police

The roommates may have been fighting over the thermostat, according to police, but there likely were other issues involved.

"I don't know what was going through his mind," Evans said. "All I can tell you is he was a dangerous individual and our officers went in there unsuspecting of what took place."

Earlier in the week, Evans confirmed that Figueroa was a Boston constable, but stressed he did not have a license to carry a weapon.

"Constable is very much like a mailman, he goes and delivers civil process,” Evans said Thursday. “He had no right in Massachusetts to possess the gun in hand.”