Hostnames depending on multicast DNS doesn't always traverse over network interfaces, eg ethernet<->wifi, so it may be easier with static IP-addresses, or that the router is smart enough to at least re-assign the same IP the next time a MAC asks for one.