This is normal. First thing I would do is optimize the chain (it might not be too long). Using these instructions on chain length for a 1x setup, which is what you have, resize accordingly.
Installing A New Chain For Your 1X Drivetrain (How to do it Right!)
The link below covers the whole drivetrain install, which is more than you need, but in it I also included all of the
correct chain sizing and derailleur adjustment resources anyone could ever need.
Sizing the chain is something most people get wrong. Especially on a 1x (which translates to a drivetrain with just one chainring in the front). Pay particular attention to how your derailleur cage needs to be pointing straight back (still with some tension on the chain!) at your highest gear / smallest cog. Your derailleur's cage exists to wrap excess chain, and many (shops and manufacturers included) screw this up out of either a misunderstanding of what they should be doing or a desire to save a bit of money on chain links since they buy chains on big drums and not like we do at the local level.
Assembly Day 1 got us a rolling chassis that looks like a bike. If you squint a little. Lets keep up the pace of progress here on Day 2
talesontwowheels.com
As for the derailleur adjustment, The Box Components and Microshift help vids are a little bit amazing in that they show a relatively simple (and each different) method that actually works. Both the Box and Microshift vids also show proper chain length/sizing for a 1x drivetrain that all agree with the article above on how long it should be.
The last linked Park video is the Gold Standard of derailleur adjustment videos and has been that for years. If you want to understand the process and be able to adjust any derailleur you come across in the future - or one of the two shortcut videos don't do it for you - then go to the industry standard source and do it thataway.
EDIT: If you still have problems after this, it is unlikely but possible your derailleur is not up to the task. As noted a derailleur cage exists to wrap chain. Bigger rear clusters require longer cages. Hopefully your manufacturer didn't cheap out and give you something like a short- or mid-length cage when you need the next size up. If your system is an 11-36 in back then you likely have a mid-length. Or iodeally a long cage. But a mid- should be fine. The longer the cage, the more excess chain it can wrap.