KABUL, Afghanistan — American and other coalition forces here are being killed in increasing numbers by the very Afghan soldiers they fight alongside and train, in attacks motivated by deep-seated animosity between the supposedly allied forces, according to American and Afghan officers and a classified coalition report obtained by The New York Times.