In a tree entry, when you take a photo from the camera or gallery and edit the date associated with it and save it, it won’t show up in the tree entry, but it does show up in the gallery.
Otherwise, when you save a photo without editing the date, it will show up in the tree entry and gallery as expected.
Clearly, it’s definitely a bug. Please fix this bug. Thanks!