An investigation is underway after a man died Tuesday afternoon after being detained by Phoenix police for allegedly breaking an apartment window.