before purchasing a replacement kit, i would try testing each DIMM slot individually to ensure it is not a fault with the motherboard.
maybe also try clearing CMOS before installing both kits together. and make sure you have the latest BIOS update.
but as wylier2 stated, there is never a guarantee that individually packaged kits will function together even when they are the exact same make/model.
ASUS ROG Strix Z590-E Gaming | i7-11700K \ ASUS ROG Ryujin 360 | G.Skill TridentZ 3466 CL14 32GB | ASUS TUF RTX 3080 Ti | M2: 960GB \ SSDs: 5TB \ HDs: 16TB | Super Flower Leadex III 850w | Fractal Design Vector RS Blackout \ 5x be quiet! Silent Wings 3 140mm High-Speed PWM | Logitech G600 | Corsair K70 LUX RGB | Xbox One S Gamepad | Klipsch ProMedia 2.1 | Anker Soundcore Life Q20 | 34" Alienware AW3420DW \ 55" LG CX OLED | Windows 10 Pro x64