My right earbud always tuns off on its own

It’s like something is pressing the button and turning it off, It’s a soundcore liberty pro 2, please help

Is it during a time when it is playing or is it after a certain amount of time?

As soon i turn ir on, It’s starts to turn off and on by its self