If it were open source, Apple would lose control. As it stands, you can only transfer songs to Apple products (iPod, iPhone), and you can only access the iTunes music store. So Apple would probably lose money by open sourcing iTunes. Perhaps, anyway - it's a possible explanation.