Sexual feelings, or what is called "arousal", happens due to
increasing hormones during teenage years, along with thoughts and
visual input, or with direct touch. Guys are more visual that
girls, so just seeing an attractive female can be stimulating to
many guys.