Sometimes Align panel has no Align To options enabled, even with a selection present
Occasionally I have an object selected, hit a hotkey assigned to an Align command, but nothing happens, even though Ai should automatically enable Align To Artboard with the only object selected.
I open the Align panel (in these cases it’s usually collapsed) and realize none of three Align To option buttons is pressed! I click Align To Artboard one manually, and then it works, and it doesn’t happen anymore... until the next time it misfires like this.
Probably it happens at least one per Ai session, I can’t tell yet.

-
It seems indeed the panel doesn’t get any button pressed once per session if is is collapsed. If any operation gets done with the panel open, the proper button becomes pressed.
Th confusion I get with some thing not getting aligned is most probably because I select only some point of the object, expecting them to align 'to artboard' — while the default mode Ai uses for these is 'to selection'. Then I open the panel and realize I don’t see the current mode. Even though I know this, it doesn’t really prevents me from getting surprised each time.