A build-up of wax or a foreign body can be a cause of swelling in a dog's ears. The blockage alone can cause swelling, but a blockage of the ears can also lead to infection first and then subsequent swelling. A veterinarian can remove excessive wax and determine if something else may be lodged in your dog's ear.