Java has been updated before Bedrock most of the time Bedrock went through a semi-short time where it was updated faster. But, to be fair, Java has one platform to deal with, while Bedrock has a bunch.
I thought Microsoft kinda was paying more attention to Bedrock because they want their own little bastardized version of Minecraft. Java isn’t something they like because you can do everything for free.