Ester-like flavors in butter result from the metabolic activities of Pseudomonas fragi. This bacterium produces ester compounds during its growth, imparting a fruity or ester-like flavor to butter. Proper storage and hygiene during butter production can help prevent this defect and maintain product quality.