The big hotel chains use AI-driven pricing which take into account a lot more variables than time.
Things like the country you book from, IOS/Android, the number of times you've checked, the day of the week, how near to the booking date, etc.
So if you see the prices go up at 5pm, it might not necessarily be true for other people.