If you notice the ends of your fluorescent lamp are turning black, that’s probably because it is rapidly switching cycles. Another reason could be a malfunctioning cathode inside the tube. Get your lamp replaced if you have a replacement warranty.