Unbound doesn't work on new Pi-hole installation

As mentioned, you were affected by a DNS loop created between your upstream unbound and Pi-hole, introduced by unbound's default configuration rolled out with Bullseye packaging. For a complete background, see WARNING: Raspbian October 2021 release bullseye + unbound