Given only this detail I would not be able to offer much advice. We know that the stock Windows will bluescreen when booted from USB so your post means that it's not Windows as that would not be in use from a pen drive.

Try telling what OS, PC and what you think lead to this issue.