I think your os is 32bit and use 64bit kernel? I suggest you check your os version use this command:
getconf LONG_BIT
if the result display 32, you should reinstall pi os to 64bit os like bookworm follow this site, Install using Imager, and then reinstall docker engine, see it if this will help. Otherwise will show 64.