Looks similar to worm damage, take the dead stuff off and check for worm poop. If u see poop u have a worm, but maybe someone with more experience would know more. I grow outdoors in SoCal and deal with this all the time though. Never really had any bud rot.
By the way, if u have a worm...