Marine Corps officials became aware of “a social media post that does not align with our core values,” a spokesperson said.