What causes internal server error?

This is the cause of most Internal Server Errors. If the permission of one more file or directories needed to process the request of the client is set wrongly, it will not be accessible to the server so that the error is returned.

For More Information Please Refer: https://www.interserver.net/tips/kb/troubleshoot-500-internal-server-error/