The meaning of this quote (as opposed to the context, which is given above) is that often when things seem wrong, confusing or unjust that there is more to a system than meets the eye, levels of truth, meaning and complexity not visible to the casual observer. In the specific case, Horatio who was part of the unfolding plot was unable to see the rationale for the ghosts behavior, which was part of the larger plot.