This usually occurs when a small-sized photo is blown up significantly during resizing. It’s always best to start with a larger, higher-quality photo when possible.