It’s because certain jurisdictions require companies to not allow access to potential 18+ content without getting consent and the user saying they are over 18. If there isn’t an age selection then in their T&Cs it’ll likely have something saying that creating an account confirms you are over 18.