If you live somewhere where it gets very dry at times, then static shocks can be very annoying to deal with. It can become even more of a problem when you're wearing clothes that not only cling to you but also increase the number of static shocks you're getting.
Because cotton doesn't conduct electricity, you won't have to worry about this problem at all. In addition, it won't cling to you annoyingly. So no matter how the weather's like, you can enjoy wearing your cotton shorts without issue.