why does my iphone send pictures through icloud?
The iCloud Photo link shows up as the default behavior when you have 'iCloud for Photos' enabled on your iPhone ( Settings > Photos > iCloud Photos) OR (Settings> Apple ID Profile > iCloud > Photos ON with iCloud Photos enabled). Interestingly this feature appears to be only limited to Apple's Message app.