Your EnOS sync database seems to be “corrupted” / not correctly dowloaded.
Every file in the sync directory should be gzip compressed data.
There have been a few users recently having this issue.
You would need to correct your /etc/pacman.d/endeavouros-mirrorlist
.
See for example here:
Also the [community] repo doesn’t exist anymore.
Remove it from /etc/pacman.conf
.