They're not at all - they vary pretty much the same way airline tickets do. Hotels are a bit less obvious about it because the often have display rates.
(Varying rates is especially common in places like Vegas where there is usually a huge oversupply of rooms, but hotels make money from other things, ie, gambling)