TikTok ban fueled by Hamas attack on Israel: Former US congressman