What do you mean by "it is returned"? It fails to send, or it sends anyway but shows this red X (on your phone, the recipient's or both)?
The obvious guess is that the photo is too large to send as a message, but that's assuming that it doesn't send. Your message app may have a setting to control the maximum size of images (if not, alternative apps in the Play Store do), or there may also be a limit set by your network.
Does this also happen if you take a photo from your message app (i.e. select "camera" as the source of the image)? An existing image may be too large, and maybe the app is not set up to shrink it in that case, but using the camera that way it should be aware of the size limits and take them into account. If that works but attaching existing images does not I'd very much suspect image size is the issue.