To be fair, the offer to rejoin Horizon has been on the table to the UK for a long time now. The UK government have been the ones dragging their heels on actually doing the work to kick off that process. Scientists like Sir Paul Nurse have been very outspoken for several years about this. That's not to say there aren't failings in the EU, there definitely are, but this is heavily on the UK.