Why do apartment managers charge more when people have bad credit?

They might ask for an extra deposit or an extra month's rent because people with low credit scores have a higher risk of defaulting on the contract (not paying rent or leaving the apartment before the contract is up). Because of the higher risk, they might charge more up front, but they shouldn't be charging you a higher rental rate in general.