I think Biden was given an ultimatum which allowed him to remain in the race if the planned assassination of Trump had been successful but that he had to leave the race if it failed. This would immediately allow the media a chance to trumpet Harris rather than cover the assassination attempt on Trump or the Republican Convention.
Not only did the assassination fail, but that photo has been seen by everyone. Pretty dismal for the Dems right now.