I don't know about the other products, but I was always told that Bitbucket is literally 2 separate products with unrelated codebases that Atlassian just branded the same. Take with a grain of salt because I have no good source, but consider that ex. on-prem BB never supported Mercurial (which was cloud BB's big selling point for me), and their UIs were quite different.