BAMIAN, Afghanistan — Two American service members were killed on Wednesday in a helicopter crash in Afghanistan, the American military in Kabul said in a statement.

The military said the cause of the crash was under investigation.

“Preliminary reports do not indicate it was caused by enemy fire,” read a statement from United States Forces Afghanistan.

But a Taliban spokesman said the helicopter was shot down in Logar Province in eastern Afghanistan around 1 a.m. The militants, however, often issue false or exaggerated claims. The American military statement did not disclose the time or location of the crash.

The identities of the two service members were withheld pending notification of the next of kin. It was not known which branch of the military they were from.