June 4 (Reuters) - U.S. Customs and Border Protection officers fatally shot an American man who pulled out a gun and started shooting while attempting to drive through the border crossing between Tijuana and San Diego late Monday, NBC reported.

The 23-year-old man was driving from the Mexican side of the border when he refused to stop his truck for inspection at the San Ysidro port of entry. He instead began shooting at CBP officers through his truck's window, NBC reported, citing both CBP and the San Diego Police Department.

"The officers returned fire, striking the suspect," the San Diego Police said in a statement, NBC reported on Tuesday.

The law enforcement agencies did not immediately respond to requests for confirmation.

The man's identity has not been released and officials have not said why they believe the man began shooting. (Reporting by Jonathan Allen; Editing by Scott Malone and Steve Orlofsky)