It seems to be a cache issue.
I also get the 9.4 initrd.img on https://repo.almalinux.org/almalinux/9/BaseOS/x86_64/os/images/pxeboot/initrd.img and the 9.5 initrd.img on https://repo.almalinux.org/almalinux/9.5/BaseOS/x86_64/os/images/pxeboot/initrd.img.
The 9.5 treeinfo file contains the checksum of the 9.5 image and I get the 9.5 treeinfo through /9/.
For foreman, you can either temporarily change the URL to /9.5/ or you can disable the treeinfo for the repository for the moment.