When you click on a file that has never been synced, MacOS tries to open the file using Dropbox as the default app which results in the file not opening. For a .jpeg you have to go into Get Info and change the file type / open in back to preview to open the file.