TextUs interview question

How do you determine if something is a bug or unexpected system behavior