In a poorly lit environment, the frame rate (shutter speed) drops to allow for a longer exposure time. The downside of this is that any movement in the frame, or of the hand holding the camera, can result in greater blur.
Furthermore, the camera sensor will soften the edges in low light to counteract the darkness by reducing the image noise. This too can sometimes result in a blurred picture. Try to improve the lighting to get better results.