Things move fast and we have to make snap decisions all the time. Sometimes they are wrong sometimes they are right. Analyzing them does apply if u want to make more right and less wrong snap decisions in the future.
The other car was still alongside, and struggling with controll after they tapped. This alone should be plenty of reason to give some space on the exit. But OP also had the inside for the next chicane and probably would have got him either way. In my opinion, that first tap, thats when u should have reacted by giving a bit of space, not lift, not to lose speed, just a little room for error knowing you are in a good position either way.
Ultimately this is a game indeed. We are gamers sitting behind a screen looking at the world trough a narrow view. We are not F1 drivers with super special spacial awareness and godlike car controll, and our competitors probably arent as well. Sometimes its hard to judge just how much space there is left and where exactly the other car is. Thats why for us its better to race hard but always leave some extra space instead of racing on the absolute max like we see on the telly.