Baby won’t let me lay her down ....

ma

I have a 2 week old. When she falls asleep and I try to lay her down in her bassinet she will scream. She will only sleep on my chest for hours. I try to wait until she’s in a deep sleep to lay her down so she won’t notice but she does. I’ve ran out of options lol any tips please. Im a first time mom. She seems to be straining/crying while pooping and the only way she stops is if I hold her or bounce her a little, I think that’s why she won’t lay down..... any tips please