It's not so much to do with it being sunny, but what the atmospheric pressure is like. Although if there is sun shining directly on the tank it may overheat, which is another reason why fish will sometimes jump - to get away from water which is too warm or has too little oxygen in it.