Get breaking news alerts and special reports. The news and stories that matter, delivered weekday mornings.

On any other day, the Pentagon's tweet about a Marine who came to the U.S. as an Iraqi refugee wouldn't have raised an eyebrow.

But the fact that the Department of Defense decided to highlight the story of Cpl. Ali Mohammed hours after reports that President Trump is expected to ink a temporary ban on most refugees did not go without notice.

From refugee to #Marine. @USMC Cpl Ali J. Mohammed takes the fight to the doorstep of those who cast his family out.https://t.co/oSXWGrzsL7 pic.twitter.com/UVlWsaESic — U.S. Dept of Defense (@DeptofDefense) January 25, 2017

Online observers wondered if someone on the military's social media team was subtweeting the White House by pointing out the contribution a former refugee is making to the U.S.

Let our news meet your inbox. The news and stories that matters, delivered weekday mornings. This site is protected by recaptcha

But a Pentagon official told NBC News the tweet's timing was simply a coincidence, that tweets are planned well in advance and that this one had nothing to do with any expected announcements.

The tweet directed followers to a feature story on the Marines website, published two days earlier, that recounts how Mohammed's family was driven from Baghdad because of their support for the United States.

He joined the Marines in 2014 and is now serving as a translator for a team that supports Iraqi forces in their fight against ISIS.

"America is my home, but Iraq is my homeland," Mohammed is quoted as saying.

Defense Department spokeswoman Laura Ochoa said the tweet about the profile was simply "an opportunity to highlight the unique story of one of our U.S. Marines and his service to our country."

Two days earlier, another Defense Department post about social media posting and mental health was seen by some as a possible dig at the prolific tweeter-in-chief. But that tweet actually linked to a Jan. 19 report about suicide-prevention, a priority issue for the Pentagon.

Social media postings sometimes provide an important window into a person’s #mentalhealth. Know what to look for. https://t.co/B0tPAHwjVK pic.twitter.com/AbXrw2QhQd — U.S. Dept of Defense (@DeptofDefense) January 23, 2017

Scrutiny of government tweets may be more intense after incidents involving another federal agency.

The Interior Department was temporarily banned from using its Twitter accounts after the National Park Service shared tweets from others that were seen as critical of the Trump Administration. The Park Service later apologized.

An ex-employee of the Badlands National Park then posted a series of messages about climate change that were viewed as a protest against Trump

The Badlands National Park's tweets about climate change were later deleted.

The tweets were unauthorized and were removed by the park after it realized its account had been breached, a park service official said.