Pihole overrides hostname without being instructed to do so

This is what I always do for systems with static IP details like Pi-hole:

EDIT: Ow you could do an extra:

pi@ph5b:~ $ hostname -i
127.0.1.1
pi@ph5b:~ $ hostname -I
10.0.0.4