There are a lot of factors here, if the Courtyard is more expensive than a full service then there must be demand to stay there. Most likely due to an event or conference that's using that hotel. Even if the 'nicer' hotel is cheaper many people prefer the convenience of staying in the same location as their group, or where the meeting rooms are, etc. Much easier to socialize that way.
Then there are cases where the Courtyard is better. I think Philadelphia is a good example of this, the Marriott there is fine but the rooms are nothing special. The Courtyard has some very interesting design in their rooms, overall I prefer it even without a lounge or some other full service amenities.