This is actually kind of deep in its own way, especially for a 4koma-based yuri manga.
A lot of anime/manga characters smoke because of the aesthetic it brings to some character archetypes. Sensei smokes here simply because her lover did it, who was a replacement for her unrequited love, then out of her own way of revenge and coping. Poor Sensei.