Did I miss the part where the cop identified himself before he just pulled his gun and fired?
He failed to ID himself as police.
The open door could indicate a burglary in progress. The cops would want to catch the perps in the act, so they might not want to announce their presence outside the house.
We will have to wait for all the facts to come out.