The only reason I can refer to for the explanation of your problem is psychology. Physically, hurt in eyes may be aroused by external stimulation, inflammation or eye disease. Obviously, looking at sharp objects is none of these reasons. Thus, I think you hurt is inclined to be physiological. Maybe you have been hurt by sharp object in the past, so that you fear about those kinds of things. According to my knowledge, sometimes this kind of problem will disappear with the time flies and sometimes you shall go to see a consultant. Sometimes people take pain killers to release the problem, but it could no cure the problem essentially. The best treatment is to find out your mental obstruction and solve it.