Let’s not forget that there are multiple reasons for being denied entry other than being a potential terrorist. I was denied a student visa because my family has applied for immigration status before this (which wasn’t approved yet) and we were not aware this made us ineligible for any other type of visa. Lying on the application is another reason. We don’t know what the border officer saw, so let’s not rush to judgement.