A doctor has been arrested after he allegedly pointed a gun at people gathered outside a women's clinic in Phoenix.