Thank you for the opportunity to help you with your question!
The song "I didn't raise my boy to by a coward" came into the scene around 1915. This was the time when anti-war sentiments were catching up in USA. In this song, a lonely mother, scared for the well being for his son who is a soldier and fighting the war argues that she didn't raise the boy to be a soldier.
"Ten million mothers' heart must break, for the ones who died in vain"
She says that nations must resolve their conflict by negotiations and not by fight where son of one mother kills the son of another.
"Who dares to put a musket on his soldier, to shoot some other mother's darling boy?"
Hence it is a direct reflection of that time, as US soldiers were fighting war of this scale for the first time and anti-war sentiments were increasing.
Please let me know if you need any clarification. I'm always happy to answer your questions. Kindly best this answer if it has helped you.