Why would there be a difference between the price that gives maximum revenue and the price that gives maximum profit?

Your maximum revenue is all the money you're taking in. The maximum profit is the money you take in minus your expenses.