I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this! Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others " Accept an answer on Microsoft Q&A, I'll repost your solution in case you'd like to "Accept " the answer.
Issue:
Azure batch immediately returning trigger to dependent task when resourcefulness are added.
Solution:
I was using same task name every time. so probably Microsoft is keeping some cached value inside a job and when I remove previous task and create a new Task with the name (Parent and Child), the state of the parent task was being fetched from the cache (assumption), and it was triggering the child task immediately.
'Every time create a task with unique name to avoid being in this situation'
If you have any other questions or are still running into more issues, please let me know. Thank you again for your time and patience throughout this issue.
Please remember to "Accept Answer" if any answer/reply helped, so that others in the community facing similar issues can easily find the solution.
Thank you.