Are planets more likely to have dense materials at their cores?
Essentially, a planet can be considered as a self-gravitating fluid. As was already known to Archimedes, under gravity low-density fluids are buoyant and rise, while high-density fluids sink. So, with some local exceptions, planets are always well structured from the densest material in the core to lower-density material further up.