With the advent of effective ranged weaponry, and later firearms, the position of an assassination target was more precarious.
Despite their comparative disadvantages, handguns are more easily concealable, and consequentially much more commonly used than rifles.