How do I treat a business in a second state that had a loss in 2023? TT is calculating the losses and deducting them from my home state return.

I work from home in Maryland and own a sole prop business. I also own a single member LLC that only does business in NY but still operated out of home office in MD. The NY LLC is new in 2023. I had startup costs and operation costs that ended the year in a loss for that business. When I input the business, TT is deducting them from my Maryland return. Since the business was done on behalf of the NY business, shouldn't it only be deducted on the NY return and if so , how do I do that in TT. Thanks