Police say an officer opened fire after an 18-year-old reached for a gun during a confrontation on the west side.