"They were members of a generation that has borne the burden of our security for more than a decade of war," Obama said.
Four soldiers, including the suspected gunman, died and 16 were wounded in the rampage last Wednesday.
Obama and first lady Michelle Obama arrived late Wednesday morning at Fort Hood, where the camouflage fatigues of troops standing to salute his passing motorcade almost blended in with the desert terrain. Flags were lowered to half-staff at the sprawling Army base in central Texas, where Obama met with victims' relatives before offering his public condolences.
The memorial took place at the same spot on the base where Obama eulogized victims of another mass shooting in 2009.
Three battle crosses, helmet-topped rifles above combat boots, stood in front of the speakers' platform, representing the three soldiers shot and killed. Officials say they died following a shooting rampage by Army Spc. Ivan Lopez, who took his own life.
Conspicuously, President Obama was the only speaker to mention that four soldiers were lost, including the shooter. As the president finished an address in which he repeated the phrase "love never ends," one soldier in the audience brushed away tears. The president exited the stage with his head down.
"It hurts. It hurts in the middle of the night. It hurts in the middle of the day. It hurts in the middle of your stomach. It hurts to lose someone you love," Chaplain Col. Goff said, following the president's address. "The reason it hurts so much is because we love so much."
Towards the end of the ceremony, soldiers stood for a roll call. The fallen soldiers' names were bellowed out by a sergeant three times. After no answer, in accordance with military tradition, their names were stricken from the roll. A line of seven soldiers pointed their rifles to the sky and shot three times. A solemn trumpeter played Taps.
Adding complexity to the president's response were questions about whether the suspect's wartime service precipitated his actions. Although Lopez did a short stint in Iraq in 2011 and said he suffered a traumatic brain injury, Fort Hood officials have said his mental condition was not a "direct participating factor" in the shooting. Still, the 34-year-old was undergoing treatment for depression and anxiety while being evaluated for post-traumatic stress disorder, base officials said.
"We must honor these men by doing more to care for our fellow Americans living with mental illness, civilian and military," Obama said. "Today four American soldiers are gone. Four Army families are devastated. As commander in chief, I'm determined that we will continue to step up our efforts to reach our troops and veterans who are hurting, to deliver to them the care that they need and to make sure we never stigmatize those who have the courage to seek help."
Copyright 2014 The Associated Press. All rights reserved.