Sand beaches generate when bordering Gravelly Mountains biomes
The bug
I found a Gravelly Mountains biome with beaches. The seed is -4398907558900697704 and the location is /execute in minecraft:overworld run tp @s -1631.49 98.01 843.78 -468.35 38.36.