Amazon must decide soon if it will protest the Pentagon’s awarding of a $10 billion cloud computing contract to rival Microsoft, with one possible grievance being the unusual attention given the project by President Donald Trump.

Amazon was long thought to be the front-runner in the competition for the huge military contract. Its Amazon Web Services division is far ahead of second-place Microsoft in cloud computing, and Amazon has experience handling highly classified government data. It survived earlier legal challenges after the Defense Department eliminated rival bidders Oracle and IBM and whittled the competition down to the two Seattle area tech giants before choosing Microsoft last week.

And what else distinguishes the losing bidder? Amazon and its CEO Jeff Bezos, who also owns The Washington Post, have been frequent targets of Trump’s criticism.

The Pentagon was preparing to make its final decision when Trump publicly waded into the fray in July, saying he had heard complaints about the process and that the administration would “take a very long look.” He said other companies told him that the contract “wasn’t competitively bid.” Oracle, in particular, had argued that Pentagon officials unfairly favored Amazon for the winner-take-all contract.

The comments from Trump were “inappropriate and improvident,” though it would be a challenge for Amazon to prove the White House applied undue pressure in a way that made a difference, said Steven Schooner, a professor of government procurement law at George Washington University.

Then again, given the high stakes and Trump’s known antipathy toward the company, Schooner said Amazon may not have much to lose in picking a fight.

Amazon didn’t return requests for comment about its next steps.

The clock is now ticking. Amazon has the right to ask the Pentagon to debrief the company on what led it to pick Microsoft instead.

The Pentagon declined to comment this week on the specifics of the debriefing process and whether it has already started. It has previously said that the competition for the 10-year contract was fair and followed procurement guidelines.

Dana Deasy, the Pentagon’s acting chief information officer, reiterated that position in a Senate confirmation hearing Tuesday after Maine Sen. Angus King, an independent, asked Deasy if he could “categorically assure us” that Trump didn’t influence the contract’s ultimate disposition.

Deasy said the procurement team was compartmentalized and he was confident that team members “that actually took the source selection” were not influenced by the White House. The White House declined comment this week.

If Amazon is not satisfied with the government’s explanation, it can file a formal protest with the Government Accountability Office, which then has 100 days to review the case. Amazon could alternatively elevate the dispute by taking it to the U.S. Court of Federal Claims.

“If you’re Amazon, you want to get into some sort of discovery phase to evaluate if there was political influence or not,” said Mike Hettinger, a tech industry lobbyist focused on federal contracting who doesn’t work for Amazon or its rival bidders.

Hettinger expects the company to file some form of protest.

“Most people in industry believed it was Amazon’s to lose because of its technical superiority,” he said. “Everyone’s paid outsized attention to this, but it’s obviously an important award.”

Former federal contracting official David Drabkin also said it makes sense for Amazon to appeal, though he said he’d be surprised if professional contracting employees were found to be improperly influenced by anything Trump said or did.

“They’re patriots,” said Drabkin, who directs the government contracting advisory at Dixon Hughes Goodman. “It’s not relevant to the decision they have to make about what represents the best value for the government.”

The project, known as Joint Enterprise Defense Infrastructure, or JEDI, will store and process vast amounts of classified data, allowing the U.S. military to use artificial intelligence to speed up its war planning and fighting capabilities.

Microsoft said it brought its “best efforts” to the Pentagon’s rigorous evaluations and appreciates that it was chosen. It is still in the final stages of getting the accreditation required to handle the government’s most sensitive classified data — something Amazon had already achieved.

“We are committed to meeting all the requirements of JEDI,” said Toni Townes-Whitley, a Microsoft executive, in a statement Thursday.

© The Associated Press. All rights reserved.