Assessing AI-Generated Questions' Alignment with Cognitive Frameworks in Educational Assessment