That is because your processor supports DDR4 memory only upto 2400MHz, so the system automatically reduces the ram speed to a speed compatible with your processor. Upgrading the processor will help! But there will be no noticeable difference at higher speeds because 2400 MHz is fast enough. Hope I could help!
Check supported ram type at Intel