Static and Dynamic Displacement and HP

He can tell us.

I'm not talking any particular displacement or rpm. Could 170 vs 225, 318 vs 360,
340 vs 360, 440 vs 500, 500 vs 543 could even be 289 vs 340, 273 vs 396 etc.. To narrow it down could say 360 vs 408 with same or similar top will the 408 always make more hp from say peak torque to peak hp ? And if so why can't the 360 spin up and extract the same hp out of the top end ?