The Diamond generation is matching with the planned generation in 1.18. However We are only on 1.17. The Most reasonable answer is that some of the 1.18 code was added by accident causing generation to change. A video by IbxToycat can further explain this issue; You can Find it hereΒ https://youtu.be/POLZhswvFm8
Related issues
duplicates
Comments

Thank you for your report!
We're tracking this issue in MCPE-127555, so this ticket is being resolved and linked as a duplicate.
If you haven't already, you might like to make use of the search feature to see if the issue has already been mentioned.
Quick Links:
π Bug Tracker Guidelines β π¬ Community Support β π§ Mojang Support
π Project Summary β βοΈ Feedback and Suggestions β π Game Wiki