Problem is, when you do it via the device, it cant optimize the photo storage so you end up running out of space....
I think that is the whole problem here. The iCloud Photos optimises the storage and puts a smaller versnio on the phone.
My guess is it has to download the full photo before Dropbox can sync it.