Mr. Obama thanked members of the armed forces and their families for their service and sacrifice .