

Bedrock makes it easier to play with friends, it also has cross-platform support (except for Linux and Mac). Console players can only play on featured servers (unless they use workarounds).
Java is better in most other aspects (I am biased for it though, since it’s what I play): you can mod it, play older versions, use custom shaders (with mods), no microtransactions, play on any server you want, (apparently) less game-breaking bugs, etc.
Yeah, it is incovenient when you play Java and other people you know play Bedrock (or vice-versa). There is a community-made plugin called Geyser that allows Bedrock players to play on Java servers (it can be buggy sometimes but it is the closest we have to Java-Bedrock crossplay).