Usually, this issue happens because your memory is being exhausted or your server might have temporarily down for a short period of time,
However, I am glad that your sites are back online now. Thanks for the confirmation.
To get more insight on the issue, please check any PHP or apache error log for any error messages in your WordPress site installed servers.