The background of inline code is different from the background of code blocks.
This makes them look like "different things" when in fact they are all just code, and should be formatted the same way.
Live examples (On SO dark mode the difference is much more significant):
Inline code: this is inline code
A code block:
this is a code block