Ryzen Master optimizer is terrible. Don't use it. The motherboard has built in automatic optimizing that also interferes with it. You are crashing with the optimizer because its setting the offset too low on top of what the board is automatically doing in the background.
6400 is a hard ask to get stable, stick with 6000.
Clear cmos and set ram to EXPO 6000 and leave it alone for now.