It started before this married couple even started dating, when, as writers on “A Different World,” they bumped into each other as each sought solace, after the Rodney King verdict in 1992, at the First A.M.E. Church of Los Angeles. More than two decades later, when their son was distraught over the acquittal of George Zimmerman in the shooting of Trayvon Martin, Mr. Bythewood showed him a documentary about an even older injustice, the lynching of Emmett Till.

“We started feeling like, as artists, we don’t want to always be on the sidelines,” Mr. Bythewood said. “We felt the need to do something like this.”

Originally conceived as a feature film, “Shots Fired” became a 10-episode TV series when Fox asked Ms. Prince-Bythewood (“Beyond the Lights”) to create a show about such themes in the wake of the 2014 killing of Michael Brown and resultant demonstrations in Ferguson, Mo.

“Because of the reach of network television, we could put this out into the world in a big way,” she said.

Sanaa Lathan and Stephan James star as Department of Justice officials unraveling twin mysteries in a North Carolina town. One surrounds a high-profile police shooting, which inverts the typical dynamic by having a black officer, played by Tristan Wilds, shoot an unarmed white man. The other involves a separate, but possibly related, murder of an African-American boy. (Other stars include Helen Hunt, Richard Dreyfuss and Aisha Hinds.)

Despite its tragic underpinnings, “Shots Fired” is at heart a mystery story, weaving the familiar pleasures of crime drama with story lines exploring how such events affect families and communities. The aim is to entertain while also highlighting racial double standards in how police shootings and other crimes are interpreted, covered and prosecuted.

“We have a creed: Get your audience at the edge of their seats, and while they’re leaning forward, hit ’em with the truth,” Mr. Bythewood said. “Hopefully while people are digging into the mystery, there will be an opportunity to challenge their perspectives as well.”

Over breakfast at a Midtown hotel earlier this month, the Bythewoods discussed “Shots Fired,” how real-life shootings affected the show and why its context changed with the election of Donald J. Trump. These are edited excerpts from the conversation.

Reggie Rock Bythewood and Gina Prince-Bythewood, the creators of the 10-part series.

Tony Cenicola / The New York Times

The news-making police shootings have generally been white officers’ killing of black victims. Why did you flip that?

GINA PRINCE-BYTHEWOOD There were a couple reasons. During the Zimmerman trial, many people were sending George Zimmerman money to help with his costs, as opposed to focusing on the young boy who was murdered. That lack of empathy and humanity was shocking. We felt inverting it was a good way to allow people to identify with the character and understand what we feel. And because we were dealing with two murders, it was a way to show how the community and the media often treat victims when the race is different. Why one may be painted as a college student and the other as a drug dealer or a thug.

PRINCE-BYTHEWOOD The actors were messed up. After the second shooting, our first assistant director, a black woman named Shawn Pipkin, pulled the entire cast and crew together for a prayer circle. It was really important to ground us, to remember to honor these real people. Tristan Wilds, it was very difficult for him that day. He had to be consoled; he was crying. The things we were shooting on that exact day mirrored what was happening, and that was tough for him. It just reminds you that we have a cause that is bigger than ourselves. We’re unapologetically idealistic that art can change the world.

One thing that has dramatically changed since you shot the show is the country’s leadership.

REGGIE ROCK BYTHEWOOD He’s a fan of The New York Times, I hear.

We’ve heard that, too. But is the context changed by the fact that the new attorney general, Jeff Sessions, has said the Department of Justice will ease scrutiny of the police?

PRINCE-BYTHEWOOD We finished editing in October and were very eager to put the show out then. But coming out now is even better, because we are in such a precarious time. Many Americans feel unsafe and not protected by the government.

BYTHEWOOD My grandfather was a police officer with the housing authority in the Bronx. He’s also the person who taught me how to drive and gave me The Talk, [about] how at some point, I’m going to encounter a racist cop, and this is how you handle it. Obviously he didn’t think all cops were bad, but he also recognized that some were. He did not find a contradiction between law enforcement and basic human and civil rights. So why the hell do they? There’s this idea that it’s one or the other — that if you support police officers, you don’t criticize things law enforcement may do that are not working.

Was there a moment when you felt like you had realized your goals for “Shots Fired”?

BYTHEWOOD There was a spiritual nature to what were doing. I directed the finale, and on the last day of shooting, someone pointed out to me that it was Emmett Till’s birthday. It was so deep — that was how so much of this started for us, and that it would end on his birthday. I definitely felt like, wow, did we really do this?

PRINCE-BYTHEWOOD At the end of the process, you finalize the sound and the color, and the guy in charge of doing that was a white guy, probably in his 60s. No one had seen the whole show yet, and I remember he was so enthralled.

And that felt really good, because you think, is this going to appeal to everyone? And the fact that the first audience was this man who could not get enough — it felt like, I think we did it.