I ran gel electrophoresis of DNA samples, got glowy wells, and smeared DNA bands. Though the primary reason is contamination, I want to know the specific reasons and solutions.
You did not specify if these were supposed to be Plasmid DNA preps or genomic. The answer is a bit different for the two.
If this was supposed to be plasmid prep then it seems you have heavy contamination by genomic DNA. This probably comes from being too vigorous when mixing during the different steps in the plasmid lysis protocol. Once you had the lysis solution you need to be gentle and mix only by gentle inversion. If you vortex or shake hard you will release the genomic DNA.
If this is supposed to be genomic DNA then either you sheared the DNA through excessive pipetting or too vigorous mixing. Or it may be that you have a small amount of nuclease contamination. This may especially be common if the strain is EndA+