A man was arrested in Tempe after he pointed a gun at a person at an apartment complex then refused to come out of his apartment once police arrived.