I just wanted to point out that this is in no way a new trend. It's always been like this.
There were lots of World War II movies that came out while the war was still going on. The Pride of the Yankees came out in 1942, just one year after Lou Gehrig died (3 years after his retirement). The Tony Curtis Boston Strangler movie came out in 1968, when the murders had taken place between 1962-64. Brian's Song came out in 1971 just a year after Brian Piccolo died. Serpico came out in 1973, just 3 years after the New York Times piece that, initially, made him famous as a whistleblower (2 years after he was shot while on duty, depicted in the movie). Dog Day Afternoon came out in 1975, about a bank robbery that took place in 1972. All The Presidents Men came out in 1976, 4 years after Watergate, 2 years after Nixon's resignation. Ghosts of Mississippi came out in 1996 about a trial that took place in 1994. The Insider came out in 1999 and is about Jeffrey Wigand's appearance on CBS in 1996.
There's more out there, too. Whether you think it's distasteful or not, it's nothing new.