This sounds like a baby who needs more help and comforting in order to relax and go (back) to sleep.
What are baby's current comforting mechanisms? For example dummy, bonded to a comfort object, mummy cuddles, movement, patting etc? Sounds like whatever is happening currently is enough to get her to sleep when her body is putting high pressure to sleep, but not enough to encourage sleep when sleep pressure is low.
When waking in the night, it's always harder to go back to sleep than it was at bedtime. Because at bedtime our bodies have had no sleep in a while and so needed to go to sleep. In the night the body has just woken up, so while we know more sleep is needed, the pressure is less than at bedtime. So more help is needed.
I've tried rubbing her back from the side of the cot which is what works in bed to get her back to sleep but it has no effect.
I just did a search to find your last post (to see what I said) and can see similarities there with this 'it never works' defeatism and lack of persistence.
While rubbing her back and all the in-cot settling might have no effect on the one night you try it for an hour, that's because you need to be much, much more consistent and persistent.
It might take hours and hours of settling on the first night. But you keep going until you get there. Stay calm, stay compassionate, keep trying t9 comfort baby.
It might similarly take ages for day 2, day 3, day 5, day 7.... But it will gradually and slowly get easier and faster. You just have to keep going.