Matches won't catch fire when exposed to the sun. If there is light focusing, such as focusing light with glasses, it will be natural immediately.
The ignition temperature of red phosphorus for matches is about 260 degrees. The temperature generated by friction is enough to make red phosphorus burn.