MEMPHIS — Shai Gilgeous-Alexander scored 23 points, Josh Giddey added 19 points and 11 assists, and the Oklahoma City Thunder beat Ja Morant and the Memphis Grizzlies 102-99.

Morant returned from injury and the league’s COVID-19 protocols after a 12-game absence and finished with 16 points.

Desmond Bane led Memphis with 25 points and Dillon Brooks scored 19.

Morant, the team’s leading scorer at 24.1 points per game, said it was frustrating to lose the day he returned, but added he was excited to be back on the court.

“I’m right there,” Morant said. “I’m definitely real close.”

In 28 minutes, Morant made 6 of 12 shots and had a team-high eight assists, but he couldn’t help the Grizzlies avoid a second consecutive loss.

The Thunder overcame an 89-84 deficit in the final 4:36 and took the lead for good at 96-95 on Giddey’s layup with 50 seconds remaining. Gilgeous-Alexander added a dunk on an inbounds pass from Giddey and two free throws in the final 16.6 seconds.

“We made a lot of plays down the stretch and that’s why we won the game,” Giddey said. “In our last three games, we have executed as good as we could have (in the closing minutes).”

The last time these teams met, the Grizzlies set an NBA record for margin of victory in a 152-79 thrashing. In the Dec. 2 game — also at FedExForum — Memphis established franchise records for bench points (93) and field goals made (60).

It appeared as if the Grizzlies were going to make another run at a lopsided win at the outset.

Memphis took advantage of poor shooting by the Thunder to build a 16-point lead early in the first half. The Thunder missed 12 of their first 14 shots and trailed 39-23 with eight minutes left in the second quarter.

The Grizzlies failed to capitalize, and the Thunder rebounded. Memphis went five minutes without a field goal shortly afterward and Oklahoma City rallied. With 1:17 to go before the half, the Thunder tied it at 45 on Giddey’s corner 3.