Why did the US government create the Warren Commission?

because they wanted to prevent future presidential assassinations
because Jack Ruby refused to explain why he killed Oswald
because the public questioned the details of Kennedy’s assassination
because Lee Harvey Oswald’s explanations were not believable

The primary reason for the creation of the Warren Commission was that the public questioned the details of President John F. Kennedy's assassination. Following Kennedy's assassination on November 22, 1963, there were widespread conspiracy theories and doubts regarding the official explanation provided by Lee Harvey Oswald, who was identified as the lone assassin. The public demanded an independent investigation to ensure transparency and to address these concerns. The purpose of the Warren Commission, formally known as the President's Commission on the Assassination of President Kennedy, was to investigate the circumstances surrounding Kennedy's assassination and provide an official report to dispel any doubts or conspiracy theories.