Since Hamas has been designated as a terrorist organization by the federal government, As a terrorist organization, Americans are not allowed to provide material support to the group.
The federal government would have good reasons to protect national security to question people that threaten our national security.