African American soldiers were treated more friendly and companionable during World War 1 by the French, while the U.S treated their soldiers with hostility and resentment.
France declared itself a colorblind society after the nation abolished slavery in 1794. Since then, African Americans were treated with respect, unlike the U.S.
The U.S Army, during WW1, was mostly made up of white Americans. Military Authorities treated African Americans by the color of their skin, segregating them, and making systemic racial discrimination against soldiers of color.