There are scary reasons behind this myth. People believe that using a phone while charging will make the phone explode, or electrocute the user. That actually happened to a Chinese flight attendant named Ma Ailun in July 2013, when she used her iPhone 4 while it was charging.
However, reports say it's because Ailun was using a third-party charger, not an original Apple charger.