This is a phenomenon called the “silicon lottery”. It means that not every CPU will be able to reach its rated boost clock speed. It’s just like a lottery where if you’re lucky enough, you’ll be able to hit big numbers. This is why many CPUs don’t reach high numbers like 4GHz.