Yes, a small amount. Tampon cotton fibers are designed to absorb fluid, so even pool water gets pulled in if a tampon is in for any length of time. Which is part of why tampons aren't generally suggested when you're not actually menstruating; a tampon sitting in dry tissue or absorbing only water can feel uncomfortable on removal and may increase discomfort or irritation if left in for extended periods. If you think your period might start during a swim, easier options are checking beforehand, using a menstrual cup, or wearing period swimwear. If your period does start in the pool, exit, insert a fresh tampon, and change within 4 to 8 hours.