A house fire in New York that killed four people, including a 3-year-old girl, has been ruled a homicide, authorities said.