The cause of the fire that destroyed an apartment building and killed two people is still under investigation.