The story of the James Webb Space Telescope consumes the fourth and final episode of the documentary series “Unknown” (Netflix, streaming).

A phony virus takes over the phony AI system on the phony planet on the latest episode of the reality series “Stars on Mars” (Fox, 9 p.m.). 

“American Ninja Warrior” (NBC, 8 p.m.) may never stop doing qualifying rounds in Los Angeles. 

Martina McBride is the guest judge of desserts on “Crime Scene Kitchen” (Fox, 9 p.m.). 

“History’s Greatest Mysteries” (History, 9 p.m.) wonders if Hitler really committed suicide. Another feather in the cap of the History channel. 

There’s a surprise recipe swap on “The Great American Recipe” (PBS, 9 p.m., check local listings). 

On “Cruel Summer” (Freeform, 10 p.m.), Luke wonders whether he’s changed. 

Moving the action to New Orleans, Charity has to figure out whose hometowns to visit on “The Bachelorette” (ABC, 8 p.m.). 

“Claim to Fame” (ABC, 10 p.m.) puts contestants’ communication abilities to the test.

That time when they auditioned for models at colleges is told tonight on “Secrets of Playboy” (A&E, 9 p.m.). 

“Secrets of Miss America” (A&E, 10 p.m.) recounts the time in 2019 women of color swept the top pageants. 

San Francisco is the battle site on “BBQ Brawl” (Food, 9 p.m.); “BBQ USA” (Food, 10 p.m.) is cooking in Uvalde, Texas.

On “Lil Jon Wants to Do What?” (HGTV, 9 p.m.), the answer is fixing an outdoor community pool. 

Morris puts on a theatrical presentation of “Ace Ventura: Pet Detective” on “Miracle Workers” (TBS, 10 p.m.). 

“Dark Marvels” (History, 10 p.m.) looks at various traps of the past. 

Puma and Ted put the team’s chemistry to the test on “Black Ink Crew” (VH1, 8 p.m.). 

Turner Classic Movies’ roster tonight goes swimmingly with “Easy to Love” (8 p.m.), “Bathing Beauty” (10 p.m.), “The Swimmer” (midnight), “Beneath the 12-Mile Reef” (2 a.m.) and “You Said a Mouthful” (4 a.m.). 

During the day are strictly lunar tales with “Garden of the Moon” (6 a.m.), “New Moon” (10 a.m.), “Shine on Harvest Moon” (noon), “By the Light of the Silvery Moon” (2 p.m.), “The Teahouse of the August Moon” (3:45 p.m.) and “The Stalking Moon” (6 p.m.). 

The FIFA Women’s World Cup has Brazil vs. Panama (Fox Sports 1, 7 a.m.) this morning, and Columbia vs. South Korea (Fox Sports 1, 10 p.m.) tonight. And very late tonight: New Zealand vs. Philippines (Fox Sports 1, 1:30 a.m.) and Switzerland vs. Norway (Fox Sports 1, 4 a.m.). 

Daytime Talk

Kelly Ripa and Mark Consuelos: Cynthia Nixon, Annie Murphy. The Talk: Alfre Woodard, Marcus Scribner (rerun). Drew Barrymore: Janelle James (rerun). Kelly Clarkson: Kristen Bell, Anna Diop (rerun).  Jennifer Hudson: Tia Lowry, Ledisi (rerun). Tamron Hall: Kenny Lattimore, Judge Faith Jenkins, Dr. Sandra Lee, Will Cole (rerun). 

Late Talk

All reruns because of the writers’ strike: Stephen Colbert: Maggie Haberman, Tyler Temleton. Jimmy Kimmel: Laura Dean, Anna Konkle, Matt Maeson. Jimmy Fallon: Keegan-michael Key, Richard Branson. Seth Meyer: Adam Driver, Adam Brody. James Corden: Stephen Merchant, Maria Baklava.