The issue here is that there's no explicit multiplication symbol between $5$ and $(8-4)$. In mathematical conventions, when written this way, $5(8-4)$ is treated as a single term, meaning multiplication should be performed first to make it a single number.