It depends on how you define the cognitive decline. If it’s losing your creativity, generating less ideas, not being able to be focused on a book - it may be a psychological trauma. I would recommend going to a good psychologist and trying to see if something is behind your current state.