New bones (Shift+A in armature edit mode) are added to the active bone collection. This collection can be hidden, causing the newly added bone to be invisible. This is consistent with adding objects to hidden scene collections, but can be confusing nonetheless. Now a warning is issued, at least for the armature/bone case.