Contrary to some guides, there is no Waterfall HM in Pokémon Diamond. The game uses a different mechanic for navigating waterfalls and deep water.
Instead of Waterfall, Dive (HM08) allows you to descend underwater in specific deep-water tiles. Look for the bottom-right corner while swimming—that's where the "Dive" prompt appears.
Note: Pokémon Platinum added Waterfall as HM07, but Diamond and Pearl rely solely on Dive for vertical water navigation.