Companies pay rating agencies such as Moody's and S&P to rate their bonds, and the costs can be substantial. However, companies are not required to have their bonds rated in the first place; doing so is strictly voluntary. Why do you think they do it?