No-one could have predicted this pandemic and the drastic measures companies have to take. When they paid the bonus they had no idea they would have to cut salaries a few months later. The timing is essential since one event happened before the pandemic and one afterwards. We could argue about bonuses in general but that's a whole different topic.