The Phoenix Suns return home to face the Dallas Mavericks after a successful 4-1 road trip, but their loss Wednesday removed all the suspense from the final night of NBA Cup play Friday.

Dallas made the Cup knockout round. The Suns did not.

The Mavericks clinched the top spot in West Group A at 3-0 when the Rockets beat the Suns 116-104 in Houston on Wednesday, a day after Dallas did its part with a 120-101 win at Denver.

“I’m into it. I like it,” Dallas forward Caleb Martin said of the NBA Cup. “It gives you a little postseason feel.”

The Suns had made the knockout round twice in three seasons and would have forced the issue had they handled Houston, but they fell to 1-2 in Cup play.

“Overall (as) we zoom out after the emotion dies down a little bit, we were able to make some strides on this trip,” Suns coach Jordan Ott said.

“We wanted to be greedy and try to get to five and zero. When we zoom out, we’ll be a little bit more happy than we are right now because we’re competitors and wanted to close it out the right way.”

Cooper Flagg was Dallas’ closer in Denver. He finished with 24 points and tied a career high with 12 assists in his sixth double-double this season. He added six rebounds.

Flagg has 11 career 20-point double-doubles, tied with Dwight Howard for the second most by a teen in NBA history. LeBron James had 18.

“He was a hell of a playmaker for us,” Dallas’ P.J. Washington said. “Got downhill. Was aggressive. He’d be a special player without making shots.”

The Suns ran into their tragic flaw in Houston, the lack of rebounding, which was particularly troublesome against one of the bigger, more physical teams in the league. Houston had a 51-38 rebounding edge and turned 20 offensive rebounds into 27 second-chance points. The Suns are last in the league in rebound differential at minus-5.2.

“On our group, it’s always the glass,” said Ott, who has not had starting center Mark Williams (shoulder) available this season. “We’re up against it every night. How do we find a way to offset the possession game because we’re just getting crushed on the defensive glass.”

Devin Booker had 25 points on 6-of-18 shooting and five assists against the Rockets. He joined Steve Nash, Kevin Johnson and Alvan Adams as the only Suns with 4,000 career assists.

Mavericks coach Dusty May adjusted his lineup Tuesday when Washington returned after missing two games due to a left shoulder ailment and an illness. He came off the bench. Zaccharie Risacher made his third straight start at small forward.

Risacher had 12 points and six rebounds in 21 minutes, while Washington chipped in with 14 points and six rebounds in 25 minutes.

“We have a lot of guys that are really starters in this group,” said May, also citing Naji Marshall, “and so it doesn’t really matter (who starts).

“We felt like the last couple of games we found a little bit of a defensive rhythm to begin games, and so we just didn’t want to rock the boat. P.J. looked great in that second unit. He had more offense because of who he is playing with. He played with great physicality, and his defensive intensity was great also.”

The Suns and Mavericks rank fifth and sixth in the league in bench points, each averaging more than 40 per game.

Flagg (33.3) is the only Dallas player averaging more than 31 minutes per game. Seven players average at least 22. Ten average 17 or more.

“We may be a team that shuffles the lineup,” May said. “We may not. These guys are more concerned with how we are playing rather than whose name is being called in the starting lineup.”